﻿package Part_2_work;

public class B_PartTest {
	public void importance(B_Part p){
		switch(p){
		case U1:
			System.out.println("第一单元打基础");
			break;
		case U2:
			System.out.println("第二单元可以胜任Java程序开发");
			break;
		case U3:
			System.out.println("第三单元可以胜任企业级Java开发");
			break;
		default:
			System.out.println("你还没学");
		}
	}
	public static void main(String[] args) {
		B_PartTest pt = new B_PartTest();
		pt.importance(B_Part.U1);
		pt.importance(B_Part.U2);
		pt.importance(B_Part.U3);
	}
}
